<!DOCTYPE html>
<html ng-app="peiwan_admin">
<head>
<meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">  
<title>冲突订单列表</title>
<script type="text/javascript" src="js/settings.min.js"></script>
<script type="text/javascript"
	src="http://cdn.bootcss.com/basket.js/0.5.2/basket.full.min.js"></script>
<link rel="stylesheet"
	href="http://cdn.bootcss.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="css/adapt.min.css">
<link rel="stylesheet"
	href="http://cdn.bootcss.com/alertify.js/0.3.11/alertify.core.min.css">
<link rel="stylesheet"
	href="http://cdn.bootcss.com/alertify.js/0.3.11/alertify.default.css">
</head>
<body ng-controller="ComplainListCtrl">
	<div class="pure-u-1 padding3">
		<table class="horizontal-center pure-table pure-table-bordered">
			<thead>
				<tr>
					<th>#</th>
					<th>标题</th>
					<th>内容</th>
					<th>图片</th>
					<th>时间</th>
					<th>操作</th>
				</tr>
			</thead>

			<tbody>
				<tr ng-repeat="complain in complains">
					<td>{{complain.id}}</td>
					<td>{{complain.title}}</td>
					<td>{{complain.content}}</td>
					<td><img ng-repeat="photo in complain.photos" alt=""
						ng-src="{{photo}}" style="width: 50px; height: 50px"></td>
					<td>{{complain.createTime}}</td>
					<td>
						<button ng-click="handleConflict(complain.id,0)"
							class="pure-button horizontal-center green">用户赢</button>
						<button ng-click="handleConflict(complain.id,1)"
							class="pure-button horizontal-center blue">陪玩赢</button>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</body>
<script type="text/javascript" src="js/conflict_order_list.min.js"></script>
</html>